<tpl> include file='sys_config.head.html' </tpl>
<div id="doc3">
	<div id="yui-main">
		<div class="yui-g">
 			<div id="divinbox">
				<div class="gtlbar">
					<div class="gtlbar-left">预立项管理 &gt;&gt; 人员成本表</div>
				</div>
				<div class="ctge">
					<div class="ctge-1">
						<div style="font-size:16px; font-weight:bold; height: 30px;">
    						<a href="project.manage.php?action=view&id=<tpl> $project_array.id </tpl>&curpage=<tpl> $curpage </tpl>"><tpl> $project_array.project_name </tpl></a>
    					</div>
						<div class="ctge-1-1">
						<table cellSpacing="0" cellPadding="0" class="fct" border="0">
							<tr>
								<th>表单/文档题目</th>
								<td><tpl> $project_array.flow_name </tpl></td>
								<td></td>
								<td></td>
						     </tr>
						     <tr>
                                <th>提交人</th>
                                <td><tpl> $project_array.user_name </tpl></td>
                                <td></td>
								<td></td>
                            </tr>
                            <tr>
                                <th>提交日期</th>
                                <td><tpl> $project_array.create_time </tpl></td>
                                <td></td>
								<td></td>
                            </tr>
						</table>
						<br>
						<table cellSpacing="0" cellPadding="0" class="fct" border="0"> 
							<tr style="background-color:#eee">
								<td style="text-align:center; font-size:14px;">
								   客户名称
								</td>
								<td style="text-align:center; font-size:14px;">
								   项目编号
								</td>
								<td style="text-align:center; font-size:14px;">
								   项目执行周期
								</td>
								<td style="text-align:center; font-size:14px;">
								   客户负责人
								</td>
								<td style="text-align:center; font-size:14px;">
								   媒介负责人
								</td>
								<td style="text-align:center; font-size:14px;">
								   财务负责人
								</td>
						    </tr>
        					<tr>
								<td style="text-align:center; ">
									<tpl> $project_array.company_name </tpl>
								</td>
								<td style="text-align:center; ">
									<tpl> $project_array.project_tmpnum </tpl>
								</td>
								<td style="text-align:center; ">
									2011/07/27 - 2011/08/27
								</td>
								<td style="text-align:center; ">
									<tpl> $project_array.customer_name </tpl>
								</td>
								<td style="text-align:center; ">
									李四
								</td>
								<td style="text-align:center; ">
									王五
								</td>
							</tr>
        				</table>
        				<br>
						<table cellSpacing="0" cellPadding="0" class="fct" border="0"> 
							<tr style="background-color:#eee">
								<td style="text-align:center; font-size:14px;">
								   员工姓名
								</td>
								<td style="text-align:center; font-size:14px;">
								   工作天数
								</td>
								<td style="text-align:center; font-size:14px;">
								   工作权重
								</td>
								<td style="text-align:center; font-size:14px;">
								   日工资
								</td>
								<td style="text-align:center; font-size:14px;">
								   本期实际人工成本
								</td>
						    </tr>
						    <tpl> section name=loop loop=$member_array </tpl>
        					<tr>
								<td style="text-align:center; ">
									<tpl> $member_array[loop].member_name </tpl>
								</td>
								<td style="text-align:center; ">
									<tpl> $member_array[loop].days </tpl>
								</td>
								<td style="text-align:center; ">
									<tpl> $member_array[loop].scale </tpl>%
								</td>
								<td style="text-align:center; ">
									<tpl> $member_array[loop].day_gongzi </tpl>
								</td>
								<td style="text-align:center; ">
									<tpl> $member_array[loop].total_gongzi </tpl>
								</td>
							</tr>
							<tpl> /section </tpl>
        				</table>
						<br>
						<tpl> if $verify_array </tpl>
						<div style="height:20px; font-size:14px; font-weight:bold;">
							需要的审核流程
						</div>
						<table width="100%" border="1">
							<tr style=" background: none repeat scroll 0 0 #EEEEEE;  font-size: 14px; ">
								<td style="text-align:center; padding: 10px;">审核流程</td>
								<td style="text-align:center; padding: 10px;">审核角色</td>
								<td style="text-align:center; padding: 10px;">审批人</td>
								<td style="text-align:center; padding: 10px;">审批时间</td>
								<td style="text-align:center; padding: 10px;">审批意见</td>
								<td style="text-align:center; padding: 10px;">审批状态</td>
						    </tr>
							<tpl> section name=loop loop=$verify_array </tpl>
						    <tr>
                                <td style="padding: 10px;"><tpl> $verify_array[loop].verify_level </tpl></td>
								<td style="padding: 10px;"><tpl> $verify_array[loop].verify_role </tpl></td>
								<td style="padding: 10px;"><tpl> $verify_array[loop].user_name </tpl></td>
								<td style="padding: 10px;"><tpl> if $verify_array[loop].verify_time </tpl><tpl> $verify_array[loop].verify_time </tpl><tpl> /if </tpl></td>
								<td style="padding: 10px;"><tpl> $verify_array[loop].verify_options </tpl></td>
								<td style="padding: 10px;"><tpl> $verify_array[loop].verify_status </tpl></td>
                            </tr>
                            <tpl> /section </tpl>
						</table>
						<tpl> /if </tpl>
						<br>
						<form action="project_official.manage.php" method="POST">
						<input type="hidden" name="action" value="doverify">
						<input type="hidden" name="project_id" value="<tpl> $project_array.id </tpl>" >
						<input type="hidden" name="id" value="<tpl> $vid </tpl>" >
						<table cellSpacing="0" cellPadding="0" class="fct" border="0">
							<tr>
								<td style="width:100px;">当前用户角色：</td>
								<td><span style="color:#ff0000;">客户总监</span></td>
						     </tr>
							<tr>
								<td style="width:100px;"></td>
								<td>
								  <input type="radio" name="verify_status" value="1" checked>通过审批 &nbsp;&nbsp;
								  <input type="radio" name="verify_status" value="2" >打回审批
								</td>
						     </tr>
						     <tr>
								<td>审批留言：</td>
								<td><textarea name="verify_options" style="width:300px; height:80px;"></textarea></td>                                    
                            </tr>
						</table>
						</div>
						<div class="bth-ct">
							<div class="bth-pl">
								<input type="submit" class="bthl" value="提交审批" /> &nbsp;&nbsp;
								<input type="button" class="bthl" value="返回" onclick='history.back();'/>
							</div>
						</div>
						</form>
                    </div>
				</div>	
			</div>
		</div>
	</div>
</div>
<tpl> include file='sys_config.js.html' </tpl>
</body>
</html>
